<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查询学生信息</title>
    <script type="text/javascript" src="../js/jq.js"></script>
    <script type="text/javascript">
        $(function (){
            $("#btn").click(function (){
                var stuId = $("#stuId").val()
                $.ajax({
                    type:'get',
                    url : '/dubbo_boot/student/query',
                    data : {id : stuId},
                    dataType : 'text',
                    success : function (data){
                       $("#show_info").text(data);
                    }
                })
            })
        })
    </script>
</head>
<body>
<input type="text" id="stuId" name="stuId" />
<button type="button" id="btn">查询学生信息</button>
<p id="show_info"></p>
</body>


</html>